package com.jeasonzhao.report.model.chart;

public class DataPoint
{
    private String m_strAxisLabel = null;
    private double m_lfValue = 0d;
    private double m_lfZValue = 0d;
    public DataPoint()
    {
    }

    public DataPoint(String strName,double lfValue,double zvalue)
    {
        m_strAxisLabel = strName;
        m_lfValue = lfValue;
        m_lfZValue = zvalue;
    }

    public DataPoint(String strName,double lfValue)
    {
        this(strName,lfValue,0d);
    }

    public String getAxisLabel()
    {
        return m_strAxisLabel;
    }

    public void setAxisLabel(String v)
    {
        m_strAxisLabel = v;
    }

    public double getZValue()
    {
        return m_lfZValue;
    }

    public void setZValue(double v)
    {
        m_lfZValue = v;
    }

    public double getValue()
    {
        return m_lfValue;
    }

    public void setValue(double v)
    {
        m_lfValue = v;
    }

    public String toString()
    {
        return m_strAxisLabel + ":" + m_lfValue;
    }
}
